package com.study.samsung.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

//商品内存表实体类
@Data
@NoArgsConstructor

public class Commoditymemory {
   private Integer nid;//商品内存id
   private String nname;//内存大小

   private BigDecimal xprice;
   private Integer sid;

   public Commoditymemory(Integer nid, String nname) {
      this.nid = nid;
      this.nname = nname;
   }

}
